package com.dmjj.limit.dao;


import com.dmjj.common.base.BaseMapper;
import com.dmjj.limit.dto.RoleDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * ${comments}数据层处理接口
 * @Author zhangxue
 * @Date 2019-03-21 09:40:56
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleDTO, Long> {
    /**
     * 编辑角色表信息
     * @Author zhangxue
     * @Date 2019-03-21 09:40:56
     * @Param
     * @Return
     */
    Integer update(RoleDTO entityDTO);

    /**
     * 获取用户角色权限与数据权限
     * @Author zhangxue
     * @Date 2019-03-21 09:40:56
     * @Param
     * @Return
     */
    Map<String, Object> queryUserLimitByToken();
}
